from analyzer import analyzer
import sys

if __name__ == '__main__':
    file = open(sys.argv[1])
    document = file.read()
    ana = analyzer(document)
    print(ana.person_names)
    print(ana.verbs)
    print(ana.nouns)
    print(ana.adjs)
    print(ana.date_matches)
    print(ana.addresses)
    print(ana.courts)
    print(ana.nations)
    print(ana.sex0)
    print(ana.sex1)
    print(ana.couses)
    file.close()